package day6_singleInstance;

public class sing1 {
    private static sing1 a =   new sing1(); // 2.初始化创建对象
    private sing1(){ // 1.私有化构造函数

    }
    public static sing1 getSing(){
        return a;
    }
}
